{% extends "base.html" %}
{% block title %}DLIB问答{% endblock %}
{% block css %}
      <!--  
      <meta name="description" content="DLIB问答，你知道吗? 打造专业的IT问答社区，提供高质量的IT问答和IT资讯服务。"> 
        <meta name="keywords" content="DLIB问答,问答社区,Python,IT,互联网"> 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
      -->
        <link href="/css/qa.css" rel="stylesheet" type="text/css" />      
        <link rel = "stylesheet" href = "/css/markdown_help.css" type = "text/css" />   
        <link rel="alternate" type="application/rss+xml" title="RSS" href="/feeds/rss">      
        	   
        
{% endblock %}
        
{% block javascript%}        
        <script type = "text/javascript" src = "/js/qa.js">
		</script>
        <script type="text/javascript"> 
            var i18nLang = 'zh-CN';
            var scriptUrl = '/'
            var osqaSkin = 'zhimaq';
            var messages = {
                username: '',
                confirm: "你确认吗？",
                yes: "是",
                no: "否",
                message: "Message:",
                cancel: "取消",
                close: "Close",
                ok: "Ok",
                matching_tags_url: "/matching_tags/",
                word: "word",
                words: "words",
                character: "character",
                characters: "characters"
            }
        </script> 
       <!--  <script type='text/javascript' src='/m/zhimaq/media/js/osqa.main.js'></script>  --> 
     
 {% endblock %}
 
 {% block bodycontent %}
        <div class="notify" style="display:none">   
            <a id="close-notify" onclick="notify.close(true)">&times;</a> 
        </div> 
        
  <div class="clear"></div> 
  <div id="nav"> 
            <a id="nav_questions"  href="/qa/questions/" {% if question_list and not unanswered %}class = 'on' {% endif %}>问题</a>
            <a id="nav_tags" href="/qa/questions/tags/" {% if tag_all_list %}class = 'on' {% endif %} >标签</a>
            <a id="nav_users" href="/qa/questions/users/" {% if user_list %}class = 'on' {% endif %} >用户</a>
            <a id="nav_unanswered" href="/qa/questions/unanswered/" {% if unanswered %}class = 'on' {% endif %}>尚待解决</a> 
            <a id="nav_ask" href="/qa/ask/" {%if not questions%}class="special"{% endif %}{% if questions %}class = 'on'{% endif %} >我要提问</a> 
  </div> 
	<div id="searchBar"> 
    <form action="/qa/search/" method="get"> 
        <div> 
            <input type="text" class="searchInput" value="" name="q" id="keywords" /> 
            <input type="submit" name="Submit" value="搜索" class="searchBtn" /> 
        </div> 
        <div class="options"> 
            <input id="type-question" type="radio" value="question" name="t" 
                {%if not Tags and not Users%}checked="checked"{%endif%} /><label for="type-question">问题</label> 
            <input id="type-tag" type="radio" value="tag" name="t"  {%if Tags %}checked="checked" {%endif%} /><label for="type-tag">标签</label> 
            <input id="type-user" type="radio" value="user" name="t" {%if Users%}checked="checked" {%endif%}/><label for="type-user">用户</label> 
        </div> 
    </form>	
	</div> 
 
	{% block content %} {% endblock %}
   {% endblock %}

